package Model;

public class Employee extends Person
{
    private String salary;
    private String position;
    private String name;
    private String ID;
    private String adress;
    private String phone;
    private String email;
    private String cprNo;
    
    public Employee(String salary, String position, String name, String ID, String adress, String phone, String email, String cprNo)
    {
        super (name,ID,adress,phone,email,cprNo);
        EmployeeCont.getInstance();
        EmployeeCont.addEmployee(this);
    }
    
    public String getSalary()
    {
        return salary;
    }
    
    public String getPosition()
    {
        return position;
    }
    
    public String getName()
    {
        return name;
    }
    
    public String getID()
    {
        return ID;
    }
    
    public String getAdress()
    {
        return adress;
    }
    
    public String getEmail()
    {
        return email;
    }
    
    public String getPhone()
    {
        return phone;
    }
    
    public String getCprNo()
    {
        return cprNo;
    }
    
    public void setSalary(String salary)
    {
        this.salary=salary;
    }
    
    public void setPosition(String position)
    {
        this.position=position;
    }
    
    public void setName(String name)
    {
        this.name=name;
    }
    
    public void setID(String ID)
    {
        this.ID=ID;
    }
    
    public void setAdress(String adress)
    {
        this.adress=adress;
    }
    
    public void setEmail(String email)
    {
        this.email=email;
    }
    
    public void setPhone(String phone)
    {
        this.phone=phone;
    }
    
    public void setCprNo(String cprNo)
    {
        this.cprNo=cprNo;
    }
    
   
    
}
